package com.friendfeed.api;

public class FriendFeedServiceException extends RuntimeException {
    private String errorCode;

    public FriendFeedServiceException(String message, String errorCode) {
        super(message);
        this.errorCode = errorCode;
    }

    public FriendFeedServiceException(String message, String errorCode, Throwable cause) {
        super(message, cause);
        this.errorCode = errorCode;
    }

    public FriendFeedServiceException(Throwable cause, String errorCode) {
        super(cause);
        this.errorCode = errorCode;
    }

    public String getErrorCode() {
        return errorCode;
    }
}
